package com.acme;
/*
 * @autor Andrey Markov
 */

public class Test {
	public static void main(String[] args) {
		int v1 = 3;
		byte v2 = (byte)v1;
		System.out.println(v2);
		v1 = 256;
		byte v3 = (byte)v1;
		/*
		 * in this instance byte convert to int
		 * so transform to byte
		 */
		System.out.println(v3);
		int v4 = 's';
		System.out.println(v4);
		
		byte v5 = 115;
		if (v5 == 's') {
			System.out.println("Equals");
		}
		
		
		System.out.println((double)4);
		
		double d = 5;
		System.out.println(d + 1);
		/* it will be shown '6' because it is not a string*/
		
		boolean b = true;
		/* boolean value can be true or false*/
		
		short v6 = 5;
		/*
		 * short integer must contain numeric
		 * value or single char
		 */
		
		float v7 = 3.67f;
		/*decimal value in default is double
		 * If I want to point out that the 
		 * value this float, should be placed char 'f' at the end
		 */
		float v9 = 3;
		/*in this operation no loss precision*/
		
		int v8 = (int)v7;
		
		int array[] = new int[27];
		
	}
}